package com.redtree.air.db
{
	
	public class Stock extends Object
	{
		
		private var _id:int;
		private var _name:String;
		private var _num:String;
		private var _im:int;
		private var _om:int;
		private var _code:String;
		private var _dateInsert:String;
		private var _securityLevel:int;
		
		public function Stock(row:Object)
		{
			super();
			_id = row['id'];
			_name = row['name'];
			_num = row['num'];
			_im = row['im'];
			_om = row['om'];
			_code = row['code'];
			_dateInsert = row['date_insert'];
			_securityLevel = row['security_level'];
		}


		public function get id():int
		{
			return _id;
		}

		public function set id(value:int):void
		{
			_id = value;
		}

		public function get num():String
		{
			return _num;
		}

		public function set num(value:String):void
		{
			_num = value;
		}

		public function get name():String
		{
			return _name;
		}

		public function set name(value:String):void
		{
			_name = value;
		}

		public function get im():int
		{
			return _im;
		}

		public function set im(value:int):void
		{
			_im = value;
		}

		public function get om():int
		{
			return _om;
		}

		public function set om(value:int):void
		{
			_om = value;
		}

		public function get dateInsert():String
		{
			return _dateInsert;
		}

		public function set dateInsert(value:String):void
		{
			_dateInsert = value;
		}

		public function get securityLevel():int
		{
			return _securityLevel;
		}

		public function set securityLevel(value:int):void
		{
			_securityLevel = value;
		}

		public function get code():String
		{
			return _code;
		}

		public function set code(value:String):void
		{
			_code = value;
		}


	}
}